package org.bees.cms.common;

import java.io.Serializable;
import java.util.List;

public class Page<S extends Serializable> implements Serializable {
	private static final long serialVersionUID = 6734386199565776282L;

	private long current;
	private long capacity;
	private String condition;
	private Order order;
	private String by;
	private List<S> domains;
	private long total;

	public long getCurrent() {
		return current;
	}

	public void setCurrent(long current) {
		this.current = current;
	}

	public long getCapacity() {
		return capacity;
	}

	public void setCapacity(long capacity) {
		this.capacity = capacity;
	}

	public String getCondition() {
		return condition;
	}

	public void setCondition(String condition) {
		this.condition = condition;
	}

	public Order getOrder() {
		return order;
	}

	public void setOrder(Order order) {
		this.order = order;
	}

	public String getBy() {
		return by;
	}

	public void setBy(String by) {
		this.by = by;
	}

	public List<S> getDomains() {
		return domains;
	}

	public void setDomains(List<S> domains) {
		this.domains = domains;
	}

	public long getTotal() {
		return total;
	}

	public void setTotal(long total) {
		this.total = total;
	}

}
